% !Mode:: "TeX:UTF-8"%確保文檔utf-8編碼
\documentclass{standalone}
\usepackage{tikz}
\usetikzlibrary{intersections,calc,positioning}
\usepackage{siunitx}
\usepackage{pgfplots}
\pgfplotsset{compat=newest}

\definecolor{cffffff}{RGB}{255,255,255}
\definecolor{cff1117}{RGB}{255,17,23}
\definecolor{cfe9e9e9}{RGB}{233,233,233}

\begin{document}

\begin{tikzpicture}[]

\def\tlen{19}%温度的数值



\draw [fill=cfe9e9e9] plot [smooth cycle] coordinates {(-2.5,-5) (-2.5,-7) (-1.5,-7.5) (-0.5,-7) (-0.5,-5)};

\draw[fill=cff1117] (-2.5,-5) rectangle (-0.5,\tlen);


\begin{scope}[rotate=90]
\def\startx{0}
\def\endx{25}
\pgfmathsetmacro{\stepx}{\startx+1}
\pgfmathsetmacro{\stepxfive}{\startx+5}
\pgfmathsetmacro{\stepxten}{\startx+10}

\coordinate (startpoint) at (\startx,0) ;
\coordinate (endpoint) at (\endx,0) ;
\draw [](startpoint) -- (endpoint);

\draw ($(startpoint) + (-10,-4)$) rectangle ($(endpoint) + (3,6)$);

%细小刻度
\foreach \x in {\startx,\stepx,...,\endx}
  \draw [](\x,0) -- (\x,-1) ;   

5分之一刻度
\foreach \y in {\startx,\stepxfive,...,\endx}
  \draw [] (\y,-1.6) -- (\y,0);


%10分之一刻度
\foreach \i in {\startx,\stepxten,...,\endx}
  \draw [] (\i,-2.2) -- (\i,0)
  node[right=2.5cm] {\Huge \pgfmathprint{int(\i-10)}};


\end{scope}

%unit
\node at ($(endpoint) +(-1,1)$) {\Huge  \si{\degreeCelsius}};

\end{tikzpicture}
\end{document}